package com.itheima.domain;

public class Student {
    private String id;      //学号
    private String name;    //姓名
    private int age;        //年龄
    private String brith;   //生辰    xxxx-xx-xx

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", brith='" + brith + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getBrith() {
        return brith;
    }

    public void setBrith(String brith) {
        this.brith = brith;
    }

    public Student(String id, String name, int age, String brith) {

        this.id = id;
        this.name = name;
        this.age = age;
        this.brith = brith;
    }

    public Student() {

    }
}
